from os import walk

def getModules() :

    moduleListIterator = walk("./Servers/")
    moduleList = moduleListIterator.next()[2]

    modules = []

    for fileName in moduleList :

        if fileName[-3:] == '.py' :

            newName = fileName[:-3]
            modules.append(newName)

    modules.remove("__init__")
    return modules

currentModules = getModules()
__all__ = currentModules[:]

for module in currentModules :
    exec('import ' + module)
